package com.pacific.sign.biz.service;

import com.pacific.common.request.CommonRequest;
import com.pacific.common.response.CommonResponse;
import com.pacific.sign.model.po.pac.mbg.PacHcRole;
import com.pacific.sign.model.po.pac.request.PacHcRoleRequest;
import com.pacific.sign.model.po.pac.response.PacHcRoleResponse;

/**
 * Created by 1 on 2017/6/29.
 */
public interface HcRoleService {

    public CommonResponse<PacHcRoleResponse> query(CommonRequest<PacHcRoleRequest> request);

    /**
     * 新增
     */
    public CommonResponse<Integer> insert(CommonRequest<PacHcRole> request);

    /**
     * 更新
     */
    public CommonResponse<Integer> update(CommonRequest<PacHcRole> request);

    /**
     * 删除
     */
    public CommonResponse<Integer> delete(CommonRequest<PacHcRole> request);

    /**
     * id查询
     */
    public CommonResponse<PacHcRole> queryById(CommonRequest<Integer> request);
}
